<?php
namespace app\index\controller;

class Index extends Base
{
    public function index()
    {

        $this->assign('index', db('article')->order('id')->paginate(3));
        return $this->fetch();
    }
}
